//
//  ViewController.m
//  12---Homework Xib
//
//  Created by 冀永金 on 16/7/29.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIView *viewOfBack;

@property (weak, nonatomic) IBOutlet UIImageView *imageOfBack;


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.viewOfBack.layer.cornerRadius = self.view.frame.size.width / 3;
    self.viewOfBack.clipsToBounds = YES;
    self.imageOfBack.layer.cornerRadius = self.view.frame.size.width / 3 - 10;
    self.imageOfBack.clipsToBounds = YES;
      // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
